<extend name="Common@Layout:hui-admin" />
<block name="title"><title>Administator管理后台</title></block>
<block name="style">
</block>

<block name="main">
	<nav class="breadcrumb">
		<i class="Hui-iconfont"></i>
		 首页 <span class="c-gray en">&gt;</span>
		 签到管理 <span class="c-gray en">&gt;</span>  
		 班级列表 
		<a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont"></i></a>
	</nav>
	<div class="pd-20">
		
		<form class="mini-form mt-20">
		<table class="table table-border table-bordered table-bg table-hover table-sort">
			<thead>
				<tr class="text-c">
					<th>班级名称</th>
					<th>班级类型</th>
					<th>班级代码</th>
					<th>上课时间</th>
					<th width="120">操作</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="datas" item="vo">
				<tr class="text-c">
					<td class="text-l">{:replace_query_str($_GET['keywords'],$vo['lessonname'])}</td>
					<td>{$vo.classtype.title}</td>
					<td>{$vo.lessoncode}</td>
					<td>{$vo.lessontime}</td>
					<td class="f-14 td-manage">
						<a class="btn btn-primary radius" onclick="parent.Hui_admin_tab(this)" _href="{:U('slist',array(lid=>$vo['id']))}" data-title="{$vo['lessonname']}-签到记录">签到记录</a>
					</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		</form>
	</div>
	
	
</block>

<block name="script">
<script>
$(function(){
	$('.mini-time').datepicker();
});
</script>
</block>